PATH![]() |
![]() ![]() |
Overrides the default proxy icon for a window.
pascal OSStatus SetWindowProxyIcon (
WindowPtr window,
IconRef icon);
If you wish to override the proxy icon that the Window Manager displays by default for a given file, your application should call the SetWindowProxyIcon function.
More typically, when you do not wish to override a window's default proxy icon, your application would call one of the following functions: SetWindowProxyFSSpec , SetWindowProxyAlias , or SetWindowProxyCreatorAndType .
See Supporting Window Proxy Icons for examples of how your application can provide proxy icon support in its document windows.
With Mac OS 8.5, you must save and restore the current graphics port--by calling the QuickDraw functions GetPort and SetPort --around each call to the SetWindowProxyIcon function.
The function GetWindowProxyIcon .